# from extensions.db.model import Base
# from sqlalchemy.orm import mapped_column, Mapped
# import sqlalchemy
# from sqlalchemy.orm import relationship
# import datetime
# from ..model import Role, RolePower


# class Power(Base):
#     __tablename__ = "power"
#     id: Mapped[int] = mapped_column(primary_key=True)
#     name: Mapped[str] = mapped_column(sqlalchemy.String(255), comment="名字")
#     create_data: Mapped[datetime.datetime] = mapped_column(
#         server_default=sqlalchemy.func.now())
#     roles: Mapped[list[Role]] = relationship(
#         secondary=RolePower, back_populates="powers")
